package com.futu.intelligence.mapper;


import com.futu.intelligence.entity.Attraction;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AttractionMapper {
    List<Attraction> findByCity(String city);
    Attraction findByName(@Param("name") String name, @Param("city") String city);
    int insert(Attraction attraction);
    List<Attraction> findByIds(List<Integer> ids);
    List<Attraction> findHotAttractions();
}
